package com.book.token;

import com.book.enums.UserEnum;
import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

@Data
public class UserToken extends UsernamePasswordToken {
    private UserEnum userEnum;


    public UserToken(String username, String password, UserEnum userEnum) {
        super(username, password);
        this.userEnum = userEnum;
    }
}
